package cn.lbd.api.designMode.factory.simple;

public class Client {
    public static void main(String[] args) {
        Car car1 = CarFactory.getCar("东风日产");
        Car car2 = CarFactory.getCar("丰田");
        car1.name();
        car2.name();
    }
}
